package com.richard.home.model.repository

import com.richard.base.net.bean.KsResult
import com.richard.home.model.bean.PoetryDetail
import com.richard.home.model.bean.PoetryWord


/**
 ***************************************
 * 项目名称: Giggle
 * @Author wuzhiguo
 * 邮箱：wuzhiguo@ksjgs.com
 * 创建时间: 2020-02-05     18:29
 * 用途:首页 Repository 接口定义
 ***************************************
 */
interface HomeRepository {


    suspend fun getHomeRecPoetry(page: Int): KsResult<MutableList<PoetryWord>>

    suspend fun getPoetryDetail(poetryId: Int): KsResult<PoetryDetail>
}